import request from "@/utils/request";
export const service = () => {
  return !!JSON.parse(localStorage.$loginInfo).tenantId ? "/event" : "/ttevent";
};
export function queryReassignLink(query) {
  return request({
    url: service() + "/flow/alarm/queryReassignLink",
    method: "post",
    data: query,
  });
}
export function reassignment(query) {
  return request({
    url: service() + "/alarm/order/reassignment",
    method: "post",
    data: query,
  });
}
